<table width="100%" cellpadding="0" cellspacing="0" class="liststyle data price-list" style="border:none">
  <col class="span-auto "></col>
  <col class="span-3 textright"></col>

  <{if $trigger_tax == 'true' && !$showFlag}>
  <tr>
   <th><{t}>需要发票：<{/t}></th>
   <td>(<{t}>税金:<{/t}><strong><{$tax_ratio*100}>%</strong>)<input type="checkbox" id="is_tax" name="payment[is_tax]" onclick="Order.updateTotal()" <{if $order_detail.trigger_tax == 'true'}>checked="checked"<{/if}> value="true" />
   </td>
 </tr>
 <tr  id='tax_company'>
   <th><{t}> 发票抬头：<{/t}></th>
   <td><input type="text" name="payment[tax_company]" class="inputstyle" value="<{$order_detail.tax_company}>" /></td>
 </tr >
 <{/if}>


 <tr style="display:none;">
  <th><{t}>商品金额：<{/t}></th>
  <td value="<{$order_detail.cost_item}>" class="font-orange"><{$order_detail.cost_item|cur_odr:$order_detail.currency}></td>
</tr>
<{if $order_detail.cost_freight > 0}>
<tr style="display:none;">
  <th><{t}>配送费用：<{/t}></th>
  <td><{$order_detail.cost_freight|cur_odr:$order_detail.currency}></td>
</tr>
<{/if}>
<{if $order_detail.cost_protect > 0}>
<tr style="display:none;">
  <th><{t}>配送保价费：<{/t}></th>
  <td><{$order_detail.cost_protect|cur_odr:$order_detail.currency}></td>
</tr>
<{/if}>
<{if $order_detail.cost_payment > 0}>
<tr>
  <th><{t}>支付费率：(客户承担支付手续费)<{/t}></th>
  <td><{$order_detail.cost_payment|cur_odr:$order_detail.currency}></td>
</tr>
<{/if}>

<{if count($order_detail.gift_p)>0}>
<tr>
  <th><{t}>获得赠品：<{/t}></th>
  <td>
   <ol>
     <{foreach from=$trading.gift_p item="item" key="key"}>
     <li <{if $item.storage==0}>class="mktprice1"<{/if}>><{$item.name}> <{$item.nums}><{t}> 件<{/t}>&nbsp;&nbsp;<{if $item.storage==0}><{t}>（无货）<{/t}><{/if}></li>
     <{/foreach}>
   </ol>
 </td>
</tr>
<{/if}>

<{if $need_pmt_info == "true" && $order_detail.pmt_order_info}>
<th><{t}>已享受的优惠：<{/t}>
  <td><{$order_detail.pmt_order_info}></td>
  <{/if}>
  <{if $order_detail.pmt_order}>
  <tr style="display:none;">
    <th><{t}>优惠金额：<{/t}></th>
    <td><{if $order_detail.pmt_order < 0}>+<{(0-$order_detail.pmt_order)|cur_odr:$order_detail.currency}><{else}>-<{$order_detail.pmt_order|cur_odr:$order_detail.currency}><{/if}></td>
  </tr>
  <{/if}>

  <{if $order_detail.discount != 0}>
  <tr>
    <th><{t}>订单减免：<{/t}></th>
    <td style="color:#f00;"><{if $order_detail.discount>0}>-<{$order_detail.discount|cur_odr:$order_detail.currency}><{else}>+<{0-$order_detail.discount|cur_odr:$order_detail.currency}><{/if}></td>
  </tr>
  <{/if}>

  <{$order_detail.point_extend_html}>

  <{if $order_detail.cur_code != '' && $order_detail.cur_code != $order_detail.cur_display}>
  <tr>
    <th><{t}>货币汇率:<{/t}></th>
    <td><{$order_detail.cur_rate}></td>
  </tr>
  <tr>
    <th><{t}>货币结算金额:<{/t}></th>
    <td><{$order_detail.final_amount|amount:$order_detail.currency:false:false}></td>
  </tr>
  <{/if}>

  <{if $order_detail.cost_tax>0}>
  <tr>
   <th><{t}>开发票所需税金：<{/t}></th>
   <td><{$order_detail.cost_tax|cur_odr:$order_detail.currency}></td>
 </tr>
 <{/if}>
 
 <tr>
  <th><{t}>实付金额：<{/t}></th>
  <td><span class="price1 totalprice"><{$order_detail.total_amount|cur_odr:$order_detail.currency}><!--<{$cost_total|cur}>--></span>
  </td>
</tr>

<{if ($order_detail.totalGainScore<>0) or ($order_detail.totalConsumeScore<>0)}>
<{if $order_detail.totalConsumeScore <> 0}>
<tr>
  <th><{t}>消费积分数：<{/t}></th>
  <td><{$order_detail.totalConsumeScore}></td>
</tr>
<{/if}>
<tr>
  <th><{t}>可获得平台积分：<{/t}></th>
  <td style="color:#333;"><{$order_detail.totalGainScore}></td>
</tr>
<{if $order_detail.totalScore <> 0}>
<!-- <tr>
  <th><{t}>当前可用积分：<{/t}></th>
  <td class="font-orange"><{$order_detail.totalScore}></td>
</tr> -->
<{/if}>
<{/if}>

</table>
<{if $trigger_tax == 'true' && !$showFlag}>
<script>
if ($('is_tax')) {
 $('is_tax').addEvent('click',function(){
   if($('tax_company')) {
     $('tax_company').setStyle('display',this.checked?'':'none');
   }
 }).fireEvent('click');
}
</script>
<{/if}>